All objects in your space tagged with #my-cool-tag: Paragraphs
- Objects@2226 You can add custom styles to a tag by leveraging the data-tag-name attribute, CSS Attribute Selectors and custom Speace Style's. Every tag gets an attribute added to it called data-tag-name that is set to the tag name with the # symbol stripped out. So given the tag #my-cool-tag the data-tag-name attribute would look like:
data-tag-name="my-cool-tag".
This allows us to do things like change the color of the #my-cool-tag to have a purple background, limegreen text and bold font by adding the following Space Style: